package com.lichuang.dedao.listenBooks.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 精选书单和听书中间表的id
 * </p>
 *
 * @author kangkang
 * @since 2019-07-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("selected_listen_book")
@ApiModel(value = "SelectedListenBook对象", description = "精选书单和听书中间表的id")
public class SelectedListenBook implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "精选书单和听书中间表的id")
    @TableId(value = "selected_listen_book_id", type = IdType.AUTO)
    private Integer selectedListenBookId;

    @ApiModelProperty(value = "精选书单的id")
    private Integer selectedBookId;

    @ApiModelProperty(value = "推荐书的id")
    private Integer listenBooksId;

    @ApiModelProperty(value = "该书书单直接推荐的主标题")
    private String mainTitle;

    @ApiModelProperty(value = "推荐的文字副标题")
    private String subTitle;

    @ApiModelProperty(value = "该书的书中介绍")
    private String bookIntroduce;

    @ApiModelProperty(value = "是否是电子书.0:是，1:不是")
    private Integer isBook;

}
